const express = require("express");

const app = express();

app.get("/", (req, res) => {
  res.write("hello world");
  res.end();
});

app.get("/login", (req, res) => {
  res.write("login");
  res.end();
});

app.get("/test", (req, res) => {
  //   res.send("hello express");
  res.send({
    name: "seupyy",
    age: 18,
  });
});

app.listen(5000, () => {
  console.log("express start");
});
